<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<PSAdmin.Core.Security.UserRole>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Create Role
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Create Role</h2>   
    <%=Html.ValidationSummary() %>
    <% using (Html.BeginForm()) {%>
        <fieldset>
            <legend>
                Fields
            </legend>
            <p>
                <%=Html.LabelFor(m => m.Name) %>    
                <%=Html.TextBoxFor(m => m.Name) %>
            </p>
            <p>
                <input type="submit" value="Save" />
            </p> 
        </fieldset>
    <%} %>
    <div>
        <%=Html.ActionLink("Back to List", "Index") %>
    </div>
</asp:Content>
